import { navbar } from "vuepress-theme-hope";

export const zhNavbar = navbar([  // 这里这个配置是一个 Json 数组的形式, 官方参考: https://vuepress-theme-hope.gitee.io/v2/zh/guide/layout/navbar.html
  "/",
  // 一级导航栏
  { text: "快速导航", icon: "navigation", link: "/quick/" },
  { text: "博客主页", icon: "blog", link: "/blog/" },
  { text: "代码笔记", icon: "note", link: "/notes/" },
  // { text: "浮生杂记", icon: "life", link: "/life/" },
  { text: "开源项目", icon: "free", link: "/projects/" },
  // 二级导航栏
  {
    text: "资源宝库",   // 项目图标
    icon: "resources",   // 项目文字
    prefix: "/resources/",  // 当前分组的页面前缀
    // ariaLabel: "项目无障碍标签", // 项目无障碍标签: 有关简述可参考: https://blog.csdn.net/Z51047299/article/details/123617530
    // rel: "", // `<a>` 标签的 `rel` 属性
    // target: "", // `<a>` 标签的 `rel` 属性
    // activeMatch: "", // activeMatch
    children: [ // 当前分组的子项
      {
        text: "书籍资源",
        icon: "book",
        link: "books/"  // 当前分组的链接
      },
      {
        text: "影音资源",
        icon: "play",
        link: "videos/"
      },
    ],
  },
]);
